Skip to content

Rollup of 12 pull requests#156613

Closed
JonathanBrouwer wants to merge 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-cKseJsM
Closed

Rollup of 12 pull requests#156613
JonathanBrouwer wants to merge 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-cKseJsM

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

shua and others added 28 commits May 5, 2026 22:27
This ensures that user arguments can override target arguments without being silently ignored.
The linker will complain about undefined symbols otherwise and on object
file formats with two level namespaces (Mach-O and PE/COFF) it is
required to know which dylib a symbol will be imported from when linking
a dylib or executable.
debuginfo: slices are DW_TAG_array_type's

Rust debuginfo for unsized structs with embedded slice types is lacking, and it makes it difficult for debuggers to correctly print types like `Rc<str>` (eg rust-lang#114195). Specifically, these three structs would have essentially the same debug info (modulo some names):
```rust
struct Foo { a: u32, s: str } // unsized
struct Bar { a: u32, s: [u8] } // unsized
struct Baz { a: u32, s: u8 }
```

This changes how the compiler generates debuginfo in this case, and I used existing compilers (gcc, clang) handling of C flexible member arrays as a reference.
…onszelmann

Require EIIs to be defined when we compile a rust dylib

The linker will complain about undefined symbols otherwise and on object file formats with two level namespaces (Mach-O and PE/COFF) it is required to know which dylib a symbol will be imported from when linking a dylib or executable.

r? @jdonszelmann
…ream, r=petrochenkov

Implement pinned drop sugar

Implements `fn drop(&pin mut self)` as sugar for `Drop::pin_drop`.

The resolver recognizes `fn drop(&pin mut self)` syntactically in trait impls and performs lookup using the effective `pin_drop` name. AST lowering independently rechecks the syntactic sugar, validates that the resolved item belongs to the actual `Drop` lang trait, and emits HIR with ident `pin_drop` for accepted sugar. Existing type checking, Drop validation, drop glue, and direct-call checks remain unchanged.

Drop identity is checked during AST lowering through `tcx.lang_items().drop_trait()`, after resolver has performed the effective `pin_drop` lookup. The resolver does not need to know whether the trait is the actual `Drop` lang item, and it no longer passes marked impl item IDs to lowering.

This intentionally preserves the base pinned-drop behavior where `#[pin_v2]` types must use `pin_drop`, while non-`#[pin_v2]` types may still implement `pin_drop`.

r? @petrochenkov

## Related

rust-lang#144537
rust-lang#130494
…lexcrichton

Allow user-provided `llvm_args` to override target spec arguments

This switches the order in which `-Cllvm-args` is applied between target-spec arguments and user-provided LLVM arguments.

This came up in rust-lang#156061, where the target passing `-Cllvm-args=-wasm-use-legacy-eh=false` means that a user passing `-Cllvm-args=-wasm-use-legacy-eh=true` cannot override this value since the LLVM arguments support the last argument overriding the previous, and user arguments were chained first.

With this change, it is possible for Wasm targets to opt into legacy EH for compatibility with runtimes that don't yet implement the modern exnref/try_table instructions, such as Node.js 20 on V8 11.3 and older browsers. While Node.js 20 is formally EOL, many libraries will still need to support this version for a few months yet, so this would ease the transition path to modern exception handling having an opt-out.

Originally this PR added support for a dedicated `-Z` flag for switching to legacy exception handling, but fine-grained control over the arguments would be a preferable solution provided it does not conflict with other behaviours.

//cc @alexcrichton
Disable `main_needs_argc_argv` for Wasm

AFAIU this explains to the "Rust Runtime" that `main()` doesn't need `argc`/`argv`. Newer Wasm targets have explicitly disabled this, this PR changes it so that the base Wasm configuration affecting all Wasm targets disables this now.

This affects the following targets:
- `wasm32-unknown-unknown`
- `wasm32v1-none`
- `wasm64-unknown-unknown`

The only Wasm target where `main_needs_argc_argv` is still enabled is `wasm32-unknown-emscripten`. @hoodmane let me know and I can remove it there as well.

Credit goes to @Spxg for stumbling on this.

r? @alexcrichton
…BoxyUwU

Make const param default test reproduce original ICE

As discussed in [comment](rust-lang#156325 (comment)).

ICE using old logic:
[old-logic-ice.txt](https://github.com/user-attachments/files/27797628/old-logic-ice.txt)

r? BoxyUwU
actually run the temp_dir doctest

No idea why this currently doesn't get run.

That said, this might fail in Miri, so we may have to wait for rust-lang/miri#5029.
…utf8-pattern, r=ChrisDenton

Require UTF-8 in `Utf8Pattern::StringPattern`

Store `&str` instead, so the UTF-8 invariant is enforced at the API boundary.

Fixes rust-lang#156491
…, r=petrochenkov

delegation: emit error when self type is not specified and accessed

This PR adds error reporting when we create error self type if it was not specified. In most of the tests there were other errors, so this delayed bug was not triggered, but there are cases like `reuse Default::default;` (rust-lang#156388) which does not emit other errors and those delayed bugs are triggered.

Part of rust-lang#118212. Fixes rust-lang#156388.

r? @petrochenkov
…i-obk

Use DropCtxt::new_block and new_block_with_statements systematically.

Misc cleanups I found while staring at that code.
…xpansion, r=Urgau

Correctly handle associated items in rustdoc macro expansion

Fixes rust-lang#156075.

The bug was simply that it didn't cover associated items.

r? @Urgau
coverage: Reduce and clarify the context-mismatch test case

Most of the complexity in this test case isn't needed to reproduce the condition observed in rust-lang#147339.

I have checked that this reduced test case still triggers the context-mismatch in `extract_refined_covspans`.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label May 15, 2026
@rustbot rustbot added the A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. label May 15, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels May 15, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1,i686-msvc-2

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 15, 2026

📌 Commit 32c54c2 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request May 15, 2026
Rollup of 12 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
try-job: i686-msvc-2
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request May 15, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #153238 (debuginfo: slices are DW_TAG_array_type's)
 - #156319 (Require EIIs to be defined when we compile a rust dylib)
 - #156452 (Implement pinned drop sugar)
 - #156554 (Allow user-provided `llvm_args` to override target spec arguments)
 - #156571 (Disable `main_needs_argc_argv` for Wasm)
 - #156600 (Make const param default test reproduce original ICE)
 - #156493 (actually run the temp_dir doctest)
 - #156556 (Require UTF-8 in `Utf8Pattern::StringPattern`)
 - #156565 (delegation: emit error when self type is not specified and accessed)
 - #156586 (Use DropCtxt::new_block and new_block_with_statements systematically.)
 - #156587 (Correctly handle associated items in rustdoc macro expansion)
 - #156604 (coverage: Reduce and clarify the context-mismatch test case)
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job aarch64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

---- [codegen] tests\codegen-llvm\debuginfo-unsize-field.rs stdout ----
------FileCheck.exe stdout------------------------------

------FileCheck.exe stderr------------------------------
C:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs:8:11: error: CHECK: expected string not found in input
// CHECK: ![[U8:[0-9]+]] = !DIBasicType(name: "u8",
          ^
C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:1:1: note: scanning from here
; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0'
^
C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:66:1: note: possible intended match here
!6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46)
^

Input file: C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll
Check file: C:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0' 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: source_filename = "debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: target triple = "aarch64-pc-windows-msvc" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5:  
check:8'0     ~
           6: @alloc_aec6e15daef12088f90153a6c854411e = private unnamed_addr constant [60 x i8] c"C:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\00", align 1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           7: @alloc_5b986678784b8b0f9a4cf3b567feed44 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_aec6e15daef12088f90153a6c854411e, [16 x i8] c";\00\00\00\00\00\00\009\00\00\00\06\00\00\00" }>, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  
check:8'0     ~
           9: ; Function Attrs: nounwind uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10: define ptr @test(ptr align 4 %a.0, i64 %a.1, ptr align 4 %b.0, i64 %b.1, ptr align 4 %c) unnamed_addr #0 !dbg !6 { 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11: start: 
check:8'0     ~~~~~~~
          12:  %self.dbg.spill.i = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          13:  %c.dbg.spill = alloca [8 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          14:  %b.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  %a.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  store ptr %a.0, ptr %a.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  %0 = getelementptr inbounds i8, ptr %a.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          18:  store i64 %a.1, ptr %0, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          19:  #dbg_declare(ptr %a.dbg.spill, !47, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          20:  store ptr %b.0, ptr %b.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          21:  %1 = getelementptr inbounds i8, ptr %b.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          22:  store i64 %b.1, ptr %1, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          23:  #dbg_declare(ptr %b.dbg.spill, !48, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          24:  store ptr %c, ptr %c.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          25:  #dbg_declare(ptr %c.dbg.spill, !49, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          26:  %_5.0 = getelementptr inbounds i8, ptr %a.0, i64 4, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          27:  store ptr %_5.0, ptr %self.dbg.spill.i, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          28:  %2 = getelementptr inbounds i8, ptr %self.dbg.spill.i, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          29:  store i64 %a.1, ptr %2, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          30:  #dbg_declare(ptr %self.dbg.spill.i, !52, !DIExpression(), !70) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          31:  %3 = insertvalue { ptr, i64 } poison, ptr %_5.0, 0, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          32:  %4 = insertvalue { ptr, i64 } %3, i64 %a.1, 1, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          33:  %_4.0 = extractvalue { ptr, i64 } %4, 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          34:  %_4.1 = extractvalue { ptr, i64 } %4, 1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          35:  %_8 = icmp ult i64 0, %_4.1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36:  br i1 %_8, label %bb2, label %panic, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37:  
check:8'0     ~
          38: bb2: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~
          39:  %_0 = getelementptr inbounds nuw i8, ptr %_4.0, i64 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          40:  ret ptr %_0, !dbg !73 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          41:  
check:8'0     ~
          42: panic: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          43: ; call core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          44:  call void @_RNvNtCs2bSPxZQOqXo_4core9panicking18panic_bounds_check(i64 0, i64 %_4.1, ptr align 8 @alloc_5b986678784b8b0f9a4cf3b567feed44) #2, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          45:  unreachable, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          46: } 
check:8'0     ~~
          47:  
check:8'0     ~
          48: ; core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          49: ; Function Attrs: cold minsize noinline noreturn nounwind optsize uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          50: declare void @_RNvNtCs2bSPxZQOqXo_4core9panicking18panic_bounds_check(i64, i64, ptr align 8) unnamed_addr #1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          51:  
check:8'0     ~
          52: attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" "target-cpu"="generic" "target-features"="+v8a,+neon,+fp-armv8" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          53: attributes #1 = { cold minsize noinline noreturn nounwind optsize uwtable "frame-pointer"="non-leaf" "target-cpu"="generic" "target-features"="+v8a,+neon,+fp-armv8" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          54: attributes #2 = { noinline noreturn nounwind } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          55:  
check:8'0     ~
          56: !llvm.module.flags = !{!0, !1, !2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          57: !llvm.ident = !{!3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~
          58: !llvm.dbg.cu = !{!4} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~
          59:  
check:8'0     ~
          60: !0 = !{i32 8, !"PIC Level", i32 2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          61: !1 = !{i32 2, !"CodeView", i32 1} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          62: !2 = !{i32 2, !"Debug Info Version", i32 3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          63: !3 = !{!"rustc version 1.97.0-nightly (af919b938 2026-05-15)"} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          64: !4 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !5, producer: "clang LLVM (rustc version 1.97.0-nightly (af919b938 2026-05-15))", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          65: !5 = !DIFile(filename: "C:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\\@\\debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0", directory: "C:\\a\\rust\\rust") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          66: !6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1     ?                                                                                                                                                                                                           possible intended match
          67: !7 = !DIFile(filename: "tests\\codegen-llvm\\debuginfo-unsize-field.rs", directory: "C:\\a\\rust\\rust", checksumkind: CSK_SHA256, checksum: "5fd7400255c195c4ff3afe02bfd41a1e30e5fea28a01d8085fb573807d6b5482") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          68: !8 = !DINamespace(name: "debuginfo_unsize_field", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          69: !9 = !DISubroutineType(types: !10) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          70: !10 = !{!11, !15, !32, !41} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          71: !11 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<u8>", baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          72: !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "u8", file: !13, baseType: !14) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          73: !13 = !DIFile(filename: "<unknown>", directory: "") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          74: !14 = !DIBasicType(name: "unsigned __int8", size: 8, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          75: !15 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Foo>", file: !13, size: 128, align: 64, elements: !16, templateParams: !28, identifier: "1deb5dbb4523c780c24ad7970b78ce79") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          76: !16 = !{!17, !29} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          77: !17 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !15, file: !13, baseType: !18, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          78: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !19, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          79: !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !20, templateParams: !28, identifier: "6bcc1478ae590095cbaf184916bb7d36") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          80: !20 = !{!21, !24} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          81: !21 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !19, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          82: !22 = !DIDerivedType(tag: DW_TAG_typedef, name: "u32", file: !13, baseType: !23) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          83: !23 = !DIBasicType(name: "unsigned __int32", size: 32, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          84: !24 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !19, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          85: !25 = !DICompositeType(tag: DW_TAG_array_type, baseType: !12, align: 8, elements: !26) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          86: !26 = !{!27} 
check:8'0     ~~~~~~~~~~~~~
          87: !27 = !DISubrange(count: -1, lowerBound: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          88: !28 = !{} 
check:8'0     ~~~~~~~~~~
          89: !29 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !15, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          90: !30 = !DIDerivedType(tag: DW_TAG_typedef, name: "usize", file: !13, baseType: !31) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          91: !31 = !DIBasicType(name: "size_t", size: 64, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          92: !32 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Bar>", file: !13, size: 128, align: 64, elements: !33, templateParams: !28, identifier: "7e12591b69c43e06bcbba6849df434b9") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          93: !33 = !{!34, !40} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          94: !34 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !32, file: !13, baseType: !35, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          95: !35 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !36, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          96: !36 = !DICompositeType(tag: DW_TAG_structure_type, name: "Bar", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !37, templateParams: !28, identifier: "448581e56acf5b52d37eaa1f5176b80c") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          97: !37 = !{!38, !39} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          98: !38 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !36, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          99: !39 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !36, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         100: !40 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !32, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         101: !41 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<debuginfo_unsize_field::Baz>", baseType: !42, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         102: !42 = !DICompositeType(tag: DW_TAG_structure_type, name: "Baz", scope: !8, file: !13, size: 64, align: 32, flags: DIFlagPublic, elements: !43, templateParams: !28, identifier: "707bd1aacf2fb55a26cf5b57676a98e8") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         103: !43 = !{!44, !45} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         104: !44 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !42, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         105: !45 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !42, file: !13, baseType: !12, size: 8, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         106: !46 = !{!47, !48, !49} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
         107: !47 = !DILocalVariable(name: "a", scope: !6, file: !7, line: 55, type: !15, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         108: !48 = !DILocalVariable(name: "b", scope: !6, file: !7, line: 55, type: !32, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         109: !49 = !DILocalVariable(name: "c", arg: 3, scope: !6, file: !7, line: 55, type: !41) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         110: !50 = !DILocation(line: 55, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         111: !51 = !DILocation(line: 57, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         112: !52 = !DILocalVariable(name: "self", scope: !53, file: !54, line: 498, type: !65, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         113: !53 = distinct !DISubprogram(name: "as_bytes", linkageName: "_RNvMNtCs2bSPxZQOqXo_4core3stre8as_bytes", scope: !55, file: !54, line: 498, type: !58, scopeLine: 498, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !69) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         114: !54 = !DIFile(filename: "/rustc/FAKE_PREFIX\\library\\core\\src\\str\\mod.rs", directory: "", checksumkind: CSK_SHA256, checksum: "2c90ff097999f139148ef065c428c35a07807d8b38535ce5e2b43d65ad0deaae") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         115: !55 = !DINamespace(name: "impl$0", scope: !56) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         116: !56 = !DINamespace(name: "str", scope: !57) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         117: !57 = !DINamespace(name: "core", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         118: !58 = !DISubroutineType(types: !59) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         119: !59 = !{!60, !65} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         120: !60 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<slice2$<u8> >", file: !13, size: 128, align: 64, elements: !61, templateParams: !28, identifier: "5137121b88caf77bcbd112ac0bb55398") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         121: !61 = !{!62, !64} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         122: !62 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !60, file: !13, baseType: !63, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         123: !63 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         124: !64 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !60, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         125: !65 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<str$>", file: !13, size: 128, align: 64, elements: !66, templateParams: !28, identifier: "6fc9dd7daffb1f73292744aea0793200") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         126: !66 = !{!67, !68} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         127: !67 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !65, file: !13, baseType: !63, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         128: !68 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !65, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         129: !69 = !{!52} 
check:8'0     ~~~~~~~~~~~~~
         130: !70 = !DILocation(line: 498, scope: !53, inlinedAt: !71) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         131: !71 = distinct !DILocation(line: 57, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         132: !72 = !DILocation(line: 501, scope: !53, inlinedAt: !71) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         133: !73 = !DILocation(line: 58, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

------------------------------------------

error: verification with 'FileCheck' failed
status: exit code: 1
command: PATH=";C:\Program Files (x86)\Windows Kits\10\bin\arm64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\a\rust\rust\build\aarch64-pc-windows-msvc\bootstrap-tools\aarch64-pc-windows-msvc\release\deps;C:\Program Files\Git\clangarm64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\citools\clang-rust\bin;C:\a\rust\rust\sccache;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.9.3\x64;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files (x86)\R\R-4.6.0\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.13\arm64\bin;C:\hostedtoolcache\windows\Python\3.13.13\arm64\Scripts;C:\hostedtoolcache\windows\Python\3.13.13\arm64;C:\hostedtoolcache\windows\Ruby\3.4.9\aarch64\bin;C:\Program Files\LLVM\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\21.0.10-7.0\aarch64\bin;C:\Tools\Ninja;C:\Program Files (x86)\ImageMagick-7.1.2-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\Microsoft SQL Server\170\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.15\bin;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\clangarm64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "C:\\a\\rust\\rust\\build\\aarch64-pc-windows-msvc\\llvm\\build\\bin\\FileCheck.exe" "--input-file" "C:\\a\\rust\\rust\\build\\aarch64-pc-windows-msvc\\test\\codegen-llvm\\debuginfo-unsize-field\\debuginfo-unsize-field.ll" "C:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs" "--check-prefix=CHECK" "--allow-unused-prefixes" "--dump-input-context" "100"
stdout: none
--- stderr -------------------------------
C:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs:8:11: error: CHECK: expected string not found in input
// CHECK: ![[U8:[0-9]+]] = !DIBasicType(name: "u8",
          ^
C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:1:1: note: scanning from here
; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0'
^
C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:66:1: note: possible intended match here
!6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46)
^

Input file: C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll
Check file: C:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0' 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: source_filename = "debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-p:64:64-i32:32-i64:64-i128:128-n32:64-S128-Fn32" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: target triple = "aarch64-pc-windows-msvc" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5:  
check:8'0     ~
           6: @alloc_aec6e15daef12088f90153a6c854411e = private unnamed_addr constant [60 x i8] c"C:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\00", align 1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           7: @alloc_5b986678784b8b0f9a4cf3b567feed44 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_aec6e15daef12088f90153a6c854411e, [16 x i8] c";\00\00\00\00\00\00\009\00\00\00\06\00\00\00" }>, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  
check:8'0     ~
           9: ; Function Attrs: nounwind uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10: define ptr @test(ptr align 4 %a.0, i64 %a.1, ptr align 4 %b.0, i64 %b.1, ptr align 4 %c) unnamed_addr #0 !dbg !6 { 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11: start: 
check:8'0     ~~~~~~~
          12:  %self.dbg.spill.i = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          13:  %c.dbg.spill = alloca [8 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          14:  %b.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  %a.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  store ptr %a.0, ptr %a.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  %0 = getelementptr inbounds i8, ptr %a.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          18:  store i64 %a.1, ptr %0, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          19:  #dbg_declare(ptr %a.dbg.spill, !47, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          20:  store ptr %b.0, ptr %b.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          21:  %1 = getelementptr inbounds i8, ptr %b.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          22:  store i64 %b.1, ptr %1, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          23:  #dbg_declare(ptr %b.dbg.spill, !48, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          24:  store ptr %c, ptr %c.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          25:  #dbg_declare(ptr %c.dbg.spill, !49, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          26:  %_5.0 = getelementptr inbounds i8, ptr %a.0, i64 4, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          27:  store ptr %_5.0, ptr %self.dbg.spill.i, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          28:  %2 = getelementptr inbounds i8, ptr %self.dbg.spill.i, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          29:  store i64 %a.1, ptr %2, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          30:  #dbg_declare(ptr %self.dbg.spill.i, !52, !DIExpression(), !70) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          31:  %3 = insertvalue { ptr, i64 } poison, ptr %_5.0, 0, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          32:  %4 = insertvalue { ptr, i64 } %3, i64 %a.1, 1, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          33:  %_4.0 = extractvalue { ptr, i64 } %4, 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          34:  %_4.1 = extractvalue { ptr, i64 } %4, 1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          35:  %_8 = icmp ult i64 0, %_4.1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36:  br i1 %_8, label %bb2, label %panic, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37:  
check:8'0     ~
          38: bb2: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~
          39:  %_0 = getelementptr inbounds nuw i8, ptr %_4.0, i64 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          40:  ret ptr %_0, !dbg !73 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          41:  
check:8'0     ~
          42: panic: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          43: ; call core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          44:  call void @_RNvNtCs2bSPxZQOqXo_4core9panicking18panic_bounds_check(i64 0, i64 %_4.1, ptr align 8 @alloc_5b986678784b8b0f9a4cf3b567feed44) #2, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          45:  unreachable, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          46: } 
check:8'0     ~~
          47:  
check:8'0     ~
          48: ; core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          49: ; Function Attrs: cold minsize noinline noreturn nounwind optsize uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          50: declare void @_RNvNtCs2bSPxZQOqXo_4core9panicking18panic_bounds_check(i64, i64, ptr align 8) unnamed_addr #1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          51:  
check:8'0     ~
          52: attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" "target-cpu"="generic" "target-features"="+v8a,+neon,+fp-armv8" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          53: attributes #1 = { cold minsize noinline noreturn nounwind optsize uwtable "frame-pointer"="non-leaf" "target-cpu"="generic" "target-features"="+v8a,+neon,+fp-armv8" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          54: attributes #2 = { noinline noreturn nounwind } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          55:  
check:8'0     ~
          56: !llvm.module.flags = !{!0, !1, !2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          57: !llvm.ident = !{!3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~
          58: !llvm.dbg.cu = !{!4} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~
          59:  
check:8'0     ~
          60: !0 = !{i32 8, !"PIC Level", i32 2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          61: !1 = !{i32 2, !"CodeView", i32 1} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          62: !2 = !{i32 2, !"Debug Info Version", i32 3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          63: !3 = !{!"rustc version 1.97.0-nightly (af919b938 2026-05-15)"} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          64: !4 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !5, producer: "clang LLVM (rustc version 1.97.0-nightly (af919b938 2026-05-15))", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          65: !5 = !DIFile(filename: "C:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\\@\\debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0", directory: "C:\\a\\rust\\rust") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          66: !6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1     ?                                                                                                                                                                                                           possible intended match
          67: !7 = !DIFile(filename: "tests\\codegen-llvm\\debuginfo-unsize-field.rs", directory: "C:\\a\\rust\\rust", checksumkind: CSK_SHA256, checksum: "5fd7400255c195c4ff3afe02bfd41a1e30e5fea28a01d8085fb573807d6b5482") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          68: !8 = !DINamespace(name: "debuginfo_unsize_field", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          69: !9 = !DISubroutineType(types: !10) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          70: !10 = !{!11, !15, !32, !41} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          71: !11 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<u8>", baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          72: !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "u8", file: !13, baseType: !14) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          73: !13 = !DIFile(filename: "<unknown>", directory: "") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          74: !14 = !DIBasicType(name: "unsigned __int8", size: 8, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          75: !15 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Foo>", file: !13, size: 128, align: 64, elements: !16, templateParams: !28, identifier: "1deb5dbb4523c780c24ad7970b78ce79") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          76: !16 = !{!17, !29} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          77: !17 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !15, file: !13, baseType: !18, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          78: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !19, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          79: !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !20, templateParams: !28, identifier: "6bcc1478ae590095cbaf184916bb7d36") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          80: !20 = !{!21, !24} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          81: !21 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !19, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          82: !22 = !DIDerivedType(tag: DW_TAG_typedef, name: "u32", file: !13, baseType: !23) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          83: !23 = !DIBasicType(name: "unsigned __int32", size: 32, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          84: !24 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !19, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          85: !25 = !DICompositeType(tag: DW_TAG_array_type, baseType: !12, align: 8, elements: !26) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          86: !26 = !{!27} 
check:8'0     ~~~~~~~~~~~~~
          87: !27 = !DISubrange(count: -1, lowerBound: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          88: !28 = !{} 
check:8'0     ~~~~~~~~~~
          89: !29 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !15, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          90: !30 = !DIDerivedType(tag: DW_TAG_typedef, name: "usize", file: !13, baseType: !31) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          91: !31 = !DIBasicType(name: "size_t", size: 64, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          92: !32 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Bar>", file: !13, size: 128, align: 64, elements: !33, templateParams: !28, identifier: "7e12591b69c43e06bcbba6849df434b9") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---

Some tests failed in compiletest suite=codegen-llvm mode=codegen host=aarch64-pc-windows-msvc target=aarch64-pc-windows-msvc
Bootstrap failed while executing `test --stage 2 --skip=compiler --skip=src`
Build completed unsuccessfully in 1:20:39
make: *** [Makefile:115: ci-msvc-py] Error 1
  local time: Fri May 15 18:04:42 CUT 2026
  network time: Fri, 15 May 2026 18:04:43 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 15, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 15, 2026

💔 Test for af919b9 failed: CI. Failed job:

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 15, 2026

PR #153238, which is a member of this rollup, was unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label May 15, 2026
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job x86_64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

---- [codegen] tests\codegen-llvm\debuginfo-unsize-field.rs stdout ----
------FileCheck.exe stdout------------------------------

------FileCheck.exe stderr------------------------------
D:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs:8:11: error: CHECK: expected string not found in input
// CHECK: ![[U8:[0-9]+]] = !DIBasicType(name: "u8",
          ^
D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:1:1: note: scanning from here
; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0'
^
D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:66:1: note: possible intended match here
!6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46)
^

Input file: D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll
Check file: D:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0' 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: source_filename = "debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: target triple = "x86_64-pc-windows-msvc" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5:  
check:8'0     ~
           6: @alloc_4ee4c27dae666fb33ad2d19a4402e119 = private unnamed_addr constant [60 x i8] c"D:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\00", align 1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           7: @alloc_6417fd074e5674bdc92da28efd38ce35 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_4ee4c27dae666fb33ad2d19a4402e119, [16 x i8] c";\00\00\00\00\00\00\009\00\00\00\06\00\00\00" }>, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  
check:8'0     ~
           9: ; Function Attrs: nounwind uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10: define ptr @test(ptr align 4 %a.0, i64 %a.1, ptr align 4 %b.0, i64 %b.1, ptr align 4 %c) unnamed_addr #0 !dbg !6 { 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11: start: 
check:8'0     ~~~~~~~
          12:  %self.dbg.spill.i = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          13:  %c.dbg.spill = alloca [8 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          14:  %b.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  %a.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  store ptr %a.0, ptr %a.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  %0 = getelementptr inbounds i8, ptr %a.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          18:  store i64 %a.1, ptr %0, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          19:  #dbg_declare(ptr %a.dbg.spill, !47, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          20:  store ptr %b.0, ptr %b.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          21:  %1 = getelementptr inbounds i8, ptr %b.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          22:  store i64 %b.1, ptr %1, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          23:  #dbg_declare(ptr %b.dbg.spill, !48, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          24:  store ptr %c, ptr %c.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          25:  #dbg_declare(ptr %c.dbg.spill, !49, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          26:  %_5.0 = getelementptr inbounds i8, ptr %a.0, i64 4, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          27:  store ptr %_5.0, ptr %self.dbg.spill.i, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          28:  %2 = getelementptr inbounds i8, ptr %self.dbg.spill.i, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          29:  store i64 %a.1, ptr %2, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          30:  #dbg_declare(ptr %self.dbg.spill.i, !52, !DIExpression(), !70) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          31:  %3 = insertvalue { ptr, i64 } poison, ptr %_5.0, 0, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          32:  %4 = insertvalue { ptr, i64 } %3, i64 %a.1, 1, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          33:  %_4.0 = extractvalue { ptr, i64 } %4, 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          34:  %_4.1 = extractvalue { ptr, i64 } %4, 1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          35:  %_8 = icmp ult i64 0, %_4.1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36:  br i1 %_8, label %bb2, label %panic, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37:  
check:8'0     ~
          38: bb2: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~
          39:  %_0 = getelementptr inbounds nuw i8, ptr %_4.0, i64 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          40:  ret ptr %_0, !dbg !73 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          41:  
check:8'0     ~
          42: panic: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          43: ; call core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          44:  call void @_RNvNtCs1yTNRixY8Pd_4core9panicking18panic_bounds_check(i64 0, i64 %_4.1, ptr align 8 @alloc_6417fd074e5674bdc92da28efd38ce35) #2, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          45:  unreachable, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          46: } 
check:8'0     ~~
          47:  
check:8'0     ~
          48: ; core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          49: ; Function Attrs: cold minsize noinline noreturn nounwind optsize uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          50: declare void @_RNvNtCs1yTNRixY8Pd_4core9panicking18panic_bounds_check(i64, i64, ptr align 8) unnamed_addr #1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          51:  
check:8'0     ~
          52: attributes #0 = { nounwind uwtable "target-cpu"="x86-64" "target-features"="+cx16,+sse,+sse2,+sse3,+sahf" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          53: attributes #1 = { cold minsize noinline noreturn nounwind optsize uwtable "target-cpu"="x86-64" "target-features"="+cx16,+sse,+sse2,+sse3,+sahf" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          54: attributes #2 = { noinline noreturn nounwind } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          55:  
check:8'0     ~
          56: !llvm.module.flags = !{!0, !1, !2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          57: !llvm.ident = !{!3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~
          58: !llvm.dbg.cu = !{!4} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~
          59:  
check:8'0     ~
          60: !0 = !{i32 8, !"PIC Level", i32 2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          61: !1 = !{i32 2, !"CodeView", i32 1} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          62: !2 = !{i32 2, !"Debug Info Version", i32 3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          63: !3 = !{!"rustc version 1.97.0-nightly (ea9529afe 2026-05-15)"} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          64: !4 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !5, producer: "clang LLVM (rustc version 1.97.0-nightly (ea9529afe 2026-05-15))", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          65: !5 = !DIFile(filename: "D:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\\@\\debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0", directory: "D:\\a\\rust\\rust") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          66: !6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1     ?                                                                                                                                                                                                           possible intended match
          67: !7 = !DIFile(filename: "tests\\codegen-llvm\\debuginfo-unsize-field.rs", directory: "D:\\a\\rust\\rust", checksumkind: CSK_SHA256, checksum: "5fd7400255c195c4ff3afe02bfd41a1e30e5fea28a01d8085fb573807d6b5482") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          68: !8 = !DINamespace(name: "debuginfo_unsize_field", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          69: !9 = !DISubroutineType(types: !10) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          70: !10 = !{!11, !15, !32, !41} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          71: !11 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<u8>", baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          72: !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "u8", file: !13, baseType: !14) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          73: !13 = !DIFile(filename: "<unknown>", directory: "") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          74: !14 = !DIBasicType(name: "unsigned __int8", size: 8, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          75: !15 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Foo>", file: !13, size: 128, align: 64, elements: !16, templateParams: !28, identifier: "1deb5dbb4523c780c24ad7970b78ce79") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          76: !16 = !{!17, !29} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          77: !17 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !15, file: !13, baseType: !18, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          78: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !19, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          79: !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !20, templateParams: !28, identifier: "6bcc1478ae590095cbaf184916bb7d36") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          80: !20 = !{!21, !24} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          81: !21 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !19, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          82: !22 = !DIDerivedType(tag: DW_TAG_typedef, name: "u32", file: !13, baseType: !23) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          83: !23 = !DIBasicType(name: "unsigned __int32", size: 32, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          84: !24 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !19, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          85: !25 = !DICompositeType(tag: DW_TAG_array_type, baseType: !12, align: 8, elements: !26) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          86: !26 = !{!27} 
check:8'0     ~~~~~~~~~~~~~
          87: !27 = !DISubrange(count: -1, lowerBound: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          88: !28 = !{} 
check:8'0     ~~~~~~~~~~
          89: !29 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !15, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          90: !30 = !DIDerivedType(tag: DW_TAG_typedef, name: "usize", file: !13, baseType: !31) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          91: !31 = !DIBasicType(name: "size_t", size: 64, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          92: !32 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Bar>", file: !13, size: 128, align: 64, elements: !33, templateParams: !28, identifier: "7e12591b69c43e06bcbba6849df434b9") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          93: !33 = !{!34, !40} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          94: !34 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !32, file: !13, baseType: !35, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          95: !35 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !36, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          96: !36 = !DICompositeType(tag: DW_TAG_structure_type, name: "Bar", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !37, templateParams: !28, identifier: "448581e56acf5b52d37eaa1f5176b80c") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          97: !37 = !{!38, !39} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          98: !38 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !36, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          99: !39 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !36, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         100: !40 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !32, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         101: !41 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<debuginfo_unsize_field::Baz>", baseType: !42, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         102: !42 = !DICompositeType(tag: DW_TAG_structure_type, name: "Baz", scope: !8, file: !13, size: 64, align: 32, flags: DIFlagPublic, elements: !43, templateParams: !28, identifier: "707bd1aacf2fb55a26cf5b57676a98e8") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         103: !43 = !{!44, !45} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         104: !44 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !42, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         105: !45 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !42, file: !13, baseType: !12, size: 8, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         106: !46 = !{!47, !48, !49} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
         107: !47 = !DILocalVariable(name: "a", scope: !6, file: !7, line: 55, type: !15, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         108: !48 = !DILocalVariable(name: "b", scope: !6, file: !7, line: 55, type: !32, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         109: !49 = !DILocalVariable(name: "c", arg: 3, scope: !6, file: !7, line: 55, type: !41) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         110: !50 = !DILocation(line: 55, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         111: !51 = !DILocation(line: 57, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         112: !52 = !DILocalVariable(name: "self", scope: !53, file: !54, line: 498, type: !65, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         113: !53 = distinct !DISubprogram(name: "as_bytes", linkageName: "_RNvMNtCs1yTNRixY8Pd_4core3stre8as_bytes", scope: !55, file: !54, line: 498, type: !58, scopeLine: 498, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !69) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         114: !54 = !DIFile(filename: "/rustc/FAKE_PREFIX\\library\\core\\src\\str\\mod.rs", directory: "", checksumkind: CSK_SHA256, checksum: "2c90ff097999f139148ef065c428c35a07807d8b38535ce5e2b43d65ad0deaae") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         115: !55 = !DINamespace(name: "impl$0", scope: !56) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         116: !56 = !DINamespace(name: "str", scope: !57) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         117: !57 = !DINamespace(name: "core", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         118: !58 = !DISubroutineType(types: !59) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         119: !59 = !{!60, !65} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         120: !60 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<slice2$<u8> >", file: !13, size: 128, align: 64, elements: !61, templateParams: !28, identifier: "5137121b88caf77bcbd112ac0bb55398") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         121: !61 = !{!62, !64} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         122: !62 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !60, file: !13, baseType: !63, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         123: !63 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         124: !64 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !60, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         125: !65 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<str$>", file: !13, size: 128, align: 64, elements: !66, templateParams: !28, identifier: "6fc9dd7daffb1f73292744aea0793200") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         126: !66 = !{!67, !68} 
check:8'0     ~~~~~~~~~~~~~~~~~~
         127: !67 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !65, file: !13, baseType: !63, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         128: !68 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !65, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         129: !69 = !{!52} 
check:8'0     ~~~~~~~~~~~~~
         130: !70 = !DILocation(line: 498, scope: !53, inlinedAt: !71) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         131: !71 = distinct !DILocation(line: 57, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         132: !72 = !DILocation(line: 501, scope: !53, inlinedAt: !71) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         133: !73 = !DILocation(line: 58, scope: !6) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

------------------------------------------

error: verification with 'FileCheck' failed
status: exit code: 1
command: PATH=";C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64;D:\a\rust\rust\build\x86_64-pc-windows-msvc\bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\7.0\bin;C:\vcpkg;C:\tools\zstd;C:\hostedtoolcache\windows\stack\3.9.3\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.6.0\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.13\x64\bin;C:\hostedtoolcache\windows\Python\3.12.10\x64\Scripts;C:\hostedtoolcache\windows\Python\3.12.10\x64;C:\hostedtoolcache\windows\Ruby\3.3.11\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\17.0.19-10\x64\bin;C:\Program Files\ImageMagick-7.1.2-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\Microsoft SQL Server\170\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.15\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\mongosh;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\llvm\\build\\bin\\FileCheck.exe" "--input-file" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\codegen-llvm\\debuginfo-unsize-field\\debuginfo-unsize-field.ll" "D:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs" "--check-prefix=CHECK" "--allow-unused-prefixes" "--dump-input-context" "100"
stdout: none
--- stderr -------------------------------
D:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs:8:11: error: CHECK: expected string not found in input
// CHECK: ![[U8:[0-9]+]] = !DIBasicType(name: "u8",
          ^
D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:1:1: note: scanning from here
; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0'
^
D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll:66:1: note: possible intended match here
!6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46)
^

Input file: D:\a\rust\rust\build\x86_64-pc-windows-msvc\test\codegen-llvm\debuginfo-unsize-field\debuginfo-unsize-field.ll
Check file: D:\a\rust\rust\tests\codegen-llvm\debuginfo-unsize-field.rs

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = 'debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0' 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: source_filename = "debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           4: target triple = "x86_64-pc-windows-msvc" 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5:  
check:8'0     ~
           6: @alloc_4ee4c27dae666fb33ad2d19a4402e119 = private unnamed_addr constant [60 x i8] c"D:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\00", align 1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           7: @alloc_6417fd074e5674bdc92da28efd38ce35 = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_4ee4c27dae666fb33ad2d19a4402e119, [16 x i8] c";\00\00\00\00\00\00\009\00\00\00\06\00\00\00" }>, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           8:  
check:8'0     ~
           9: ; Function Attrs: nounwind uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          10: define ptr @test(ptr align 4 %a.0, i64 %a.1, ptr align 4 %b.0, i64 %b.1, ptr align 4 %c) unnamed_addr #0 !dbg !6 { 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          11: start: 
check:8'0     ~~~~~~~
          12:  %self.dbg.spill.i = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          13:  %c.dbg.spill = alloca [8 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          14:  %b.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  %a.dbg.spill = alloca [16 x i8], align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  store ptr %a.0, ptr %a.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  %0 = getelementptr inbounds i8, ptr %a.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          18:  store i64 %a.1, ptr %0, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          19:  #dbg_declare(ptr %a.dbg.spill, !47, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          20:  store ptr %b.0, ptr %b.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          21:  %1 = getelementptr inbounds i8, ptr %b.dbg.spill, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          22:  store i64 %b.1, ptr %1, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          23:  #dbg_declare(ptr %b.dbg.spill, !48, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          24:  store ptr %c, ptr %c.dbg.spill, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          25:  #dbg_declare(ptr %c.dbg.spill, !49, !DIExpression(), !50) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          26:  %_5.0 = getelementptr inbounds i8, ptr %a.0, i64 4, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          27:  store ptr %_5.0, ptr %self.dbg.spill.i, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          28:  %2 = getelementptr inbounds i8, ptr %self.dbg.spill.i, i64 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          29:  store i64 %a.1, ptr %2, align 8 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          30:  #dbg_declare(ptr %self.dbg.spill.i, !52, !DIExpression(), !70) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          31:  %3 = insertvalue { ptr, i64 } poison, ptr %_5.0, 0, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          32:  %4 = insertvalue { ptr, i64 } %3, i64 %a.1, 1, !dbg !72 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          33:  %_4.0 = extractvalue { ptr, i64 } %4, 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          34:  %_4.1 = extractvalue { ptr, i64 } %4, 1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          35:  %_8 = icmp ult i64 0, %_4.1, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          36:  br i1 %_8, label %bb2, label %panic, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          37:  
check:8'0     ~
          38: bb2: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~
          39:  %_0 = getelementptr inbounds nuw i8, ptr %_4.0, i64 0, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          40:  ret ptr %_0, !dbg !73 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          41:  
check:8'0     ~
          42: panic: ; preds = %start 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          43: ; call core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          44:  call void @_RNvNtCs1yTNRixY8Pd_4core9panicking18panic_bounds_check(i64 0, i64 %_4.1, ptr align 8 @alloc_6417fd074e5674bdc92da28efd38ce35) #2, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          45:  unreachable, !dbg !51 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
          46: } 
check:8'0     ~~
          47:  
check:8'0     ~
          48: ; core::panicking::panic_bounds_check 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          49: ; Function Attrs: cold minsize noinline noreturn nounwind optsize uwtable 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          50: declare void @_RNvNtCs1yTNRixY8Pd_4core9panicking18panic_bounds_check(i64, i64, ptr align 8) unnamed_addr #1 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          51:  
check:8'0     ~
          52: attributes #0 = { nounwind uwtable "target-cpu"="x86-64" "target-features"="+cx16,+sse,+sse2,+sse3,+sahf" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          53: attributes #1 = { cold minsize noinline noreturn nounwind optsize uwtable "target-cpu"="x86-64" "target-features"="+cx16,+sse,+sse2,+sse3,+sahf" } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          54: attributes #2 = { noinline noreturn nounwind } 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          55:  
check:8'0     ~
          56: !llvm.module.flags = !{!0, !1, !2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          57: !llvm.ident = !{!3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~
          58: !llvm.dbg.cu = !{!4} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~
          59:  
check:8'0     ~
          60: !0 = !{i32 8, !"PIC Level", i32 2} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          61: !1 = !{i32 2, !"CodeView", i32 1} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          62: !2 = !{i32 2, !"Debug Info Version", i32 3} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          63: !3 = !{!"rustc version 1.97.0-nightly (ea9529afe 2026-05-15)"} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          64: !4 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !5, producer: "clang LLVM (rustc version 1.97.0-nightly (ea9529afe 2026-05-15))", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          65: !5 = !DIFile(filename: "D:\\a\\rust\\rust\\tests\\codegen-llvm\\debuginfo-unsize-field.rs\\@\\debuginfo_unsize_field.da0779fbcfb9ed24-cgu.0", directory: "D:\\a\\rust\\rust") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          66: !6 = distinct !DISubprogram(name: "test", scope: !8, file: !7, line: 55, type: !9, scopeLine: 55, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !4, templateParams: !28, retainedNodes: !46) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1     ?                                                                                                                                                                                                           possible intended match
          67: !7 = !DIFile(filename: "tests\\codegen-llvm\\debuginfo-unsize-field.rs", directory: "D:\\a\\rust\\rust", checksumkind: CSK_SHA256, checksum: "5fd7400255c195c4ff3afe02bfd41a1e30e5fea28a01d8085fb573807d6b5482") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          68: !8 = !DINamespace(name: "debuginfo_unsize_field", scope: null) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          69: !9 = !DISubroutineType(types: !10) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          70: !10 = !{!11, !15, !32, !41} 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          71: !11 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "ref$<u8>", baseType: !12, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          72: !12 = !DIDerivedType(tag: DW_TAG_typedef, name: "u8", file: !13, baseType: !14) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          73: !13 = !DIFile(filename: "<unknown>", directory: "") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          74: !14 = !DIBasicType(name: "unsigned __int8", size: 8, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          75: !15 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Foo>", file: !13, size: 128, align: 64, elements: !16, templateParams: !28, identifier: "1deb5dbb4523c780c24ad7970b78ce79") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          76: !16 = !{!17, !29} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          77: !17 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !15, file: !13, baseType: !18, size: 64, align: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          78: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !19, size: 64, align: 64, dwarfAddressSpace: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          79: !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "Foo", scope: !8, file: !13, size: 32, align: 32, flags: DIFlagPublic, elements: !20, templateParams: !28, identifier: "6bcc1478ae590095cbaf184916bb7d36") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          80: !20 = !{!21, !24} 
check:8'0     ~~~~~~~~~~~~~~~~~~
          81: !21 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !19, file: !13, baseType: !22, size: 32, align: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          82: !22 = !DIDerivedType(tag: DW_TAG_typedef, name: "u32", file: !13, baseType: !23) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          83: !23 = !DIBasicType(name: "unsigned __int32", size: 32, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          84: !24 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !19, file: !13, baseType: !25, align: 8, offset: 32, flags: DIFlagPrivate) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          85: !25 = !DICompositeType(tag: DW_TAG_array_type, baseType: !12, align: 8, elements: !26) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          86: !26 = !{!27} 
check:8'0     ~~~~~~~~~~~~~
          87: !27 = !DISubrange(count: -1, lowerBound: 0) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          88: !28 = !{} 
check:8'0     ~~~~~~~~~~
          89: !29 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !15, file: !13, baseType: !30, size: 64, align: 64, offset: 64) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          90: !30 = !DIDerivedType(tag: DW_TAG_typedef, name: "usize", file: !13, baseType: !31) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          91: !31 = !DIBasicType(name: "size_t", size: 64, encoding: DW_ATE_unsigned) 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          92: !32 = !DICompositeType(tag: DW_TAG_structure_type, name: "ref$<debuginfo_unsize_field::Bar>", file: !13, size: 128, align: 64, elements: !33, templateParams: !28, identifier: "7e12591b69c43e06bcbba6849df434b9") 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---

Some tests failed in compiletest suite=codegen-llvm mode=codegen host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Bootstrap failed while executing `test --stage 2 --skip=compiler --skip=src`
Build completed unsuccessfully in 1:53:52
make: *** [Makefile:115: ci-msvc-py] Error 1
  local time: Fri May 15 18:19:47 CUT 2026
  network time: Fri, 15 May 2026 18:19:47 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label May 15, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 15, 2026

💔 Test for ea9529a failed: CI. Failed jobs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.